﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@using Resources;
<script type="text/javascript" language="javascript" src="@Url.Content(@properties.personaJS)"></script>
<script type="text/javascript" language="javascript" src="@Url.Content(@properties.autocompleteJS)" ></script>
<script type="text/javascript">
    $(function () {
        setAutoAyudaInstitucion("#nIdeIntitutoBene", "#nIdeCodPaisDocBene", "#nIdeTipoDocumBene", "#nIdeNumeDocumBene", "#vNombresInstiBene", "/AutoAyuda/ListaInstitucionAuto", "1");
        setAutoAyudaInstitucion("#nIdeIntitutoBene", "#nIdeCodPaisDocBene", "#nIdeTipoDocumBene", "#vNombresInstiBene", "#nIdeNumeDocumBene", "/AutoAyuda/ListaInstitucionAuto", "2");
    });
</script>

<fieldset style="width: 98%;" class="fieldsetStyle1">
    <legend class="tituloBlue9">Registrar Datos de Beneficios Anteriores</legend>
    <table border="0" style="width: 100%;" cellpadding="0" cellspacing="0">
        <tbody>            
              <tr>
                <td>
                    <table border="1" cellpadding="2" cellspacing="0" style="width:900px;" class="tablaDetalle1">
                        <tbody class="tituloCelesteN8">
                            <tr align="left">
                                <td>País Emisor<span class="asterisco">(*)</span></td>
                                <td>Tipo documento<span class="asterisco">(*)</span></td>
                                <td>Número documento<span class="asterisco">(*)</span></td>
                                <td>Razón social de la institución<span class="asterisco">(*)</span></td>
                                <td colspan="2">&nbsp;</td>                                
                                <td rowspan="4"><img src="@Url.Content("~/images/check.jpg")" class="lupita2" alt="AGREGAR"  onclick="javascript:registraDatosBeneficioMante(this,'#divDatosBeneficios');"/></td>
                            </tr>
                            <tr align="left">
                                <td>@Html.DropDownList("nIdeCodPaisDocBene", (IEnumerable<SelectListItem>)ViewBag.PaisEmisor, "--Seleccione--", new { @class = "select8" })</td>
                                <td>@Html.DropDownList("nIdeTipoDocumBene", (IEnumerable<SelectListItem>)ViewBag.TipoDocIdent, "--Seleccione--", new { @class = "select8" })</td>
                                <td>@Html.TextBox("nIdeNumeDocumBene", null, new { style = "width:100px;", maxlength = 120 })</td>
                                <td colspan="3">@Html.TextBox("vNombresInstiBene", null, new { style = "width:400px;", maxlength = 120 })<input type="hidden" id="nIdeIntitutoBene" /><img src="@Url.Content("~/images/empresa.png")" class="lupita2"  onclick="javascript:addPersonaJuridicaPopNuevo('1',this);" /></td>
                            </tr>
                            <tr>
                                <td>Tipo de beneficio<span class="asterisco">(*)</span></td>
                                <td>Año del beneficio<span class="asterisco">(*)</span></td>
                                <td>Costo del programa<span class="asterisco">(*)</span></td>
                                <td>Nombre del programa<span class="asterisco">(*)</span></td>                                
                                <td>% de beca</td>
                                <td>% credito IPFE</td>
                            </tr>
                            <tr>
                                <td>@Html.DropDownList("nIdeTipoBene", (IEnumerable<SelectListItem>)ViewBag.TipoBeneficios, "--Seleccione--", new { @class = "select8" })</td>
                                <td><input type="text"   id="nAnioBene" name="nNombInst"  style="width:50px;"  /></td>
                                <td><input type="text"   id="nCostoBene" name="nNombInst"  style="width:50px;"  /></td>
                                <td>@Html.DropDownList("nIdeConceptoBene", (IEnumerable<SelectListItem>)ViewBag.ConceptoPrograma, "--Seleccione--", new { @class = "select8" })</td>
                                <td><input type="text"   id="nPorceBeca" name="nNombInst"  style="width:50px;"  /></td>
                                <td><input type="text"   id="nPorceCredito" name="nNombInst"  style="width:50px;"  /></td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr><td><div id="divDatosBeneficios" class="divOver5">@RenderPage("~/Areas/Persona/Views/Shared/ROBeneficios.cshtml")</div></td></tr> 
        </tbody>
    </table>
</fieldset>
